package net.ericaro.neojavagen.blocks;

/**
 * <b>ContinueStatement</b> ::= "continue" <{@link net .ericaro .neojavagen .types .Identifier Identifier}>? ";"
 * 
 * @author eric@ericaro.net
 */
public class ContinueStatement extends net.ericaro.neojavagen.JavaPartComposition implements net.ericaro.neojavagen.blocks.StatementWithoutTrailingSubstatement {
	private net.ericaro.neojavagen.types.Identifier identifier;

	public ContinueStatement() {
		this.identifier = null;
	}

	public ContinueStatement(net.ericaro.neojavagen.types.Identifier identifier) {
		super();
		this.identifier = identifier;
	}

	public net.ericaro.neojavagen.types.Identifier getIdentifier() {
		return identifier;
	}

	public void setIdentifier(net.ericaro.neojavagen.types.Identifier identifier) {
		this.identifier = identifier;
	}

	@Override
	public java.lang.String toString() {
		return print("continue", identifier, ";");
	}
}
